import { SET_CHANNELS } from '@/store/actionTypes'

const initState = []
 const channel = (state=initState, action)=> {
  if (action.type === SET_CHANNELS) {
    console.log(action.payload,8080);
    return action.payload

  }
  // 初始化状态
  return state
}
export default channel